package part22_适配器模式.p01_类适配器模式;

/**
 * @ClassName: Client
 * @Author: AllenSun
 * @Date: 2020/3/10 0:08
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("===类适配器模式===");
        Phone phone=new Phone();
        phone.charging(new VoltageAdapter());
    }
}
